package com.dao;

import java.util.List;

import com.domain.User;
import com.domain.Users;
import org.apache.ibatis.annotations.Param;

public interface UsersDao {
    //查询用户表
	public List<Users> findUser();

    //查询单个用户
	public Users findUserName(String str);

    //查询单个用户
	public User findByName(String str);

    //添加用户
	public void addUser(User user);

    //修改密码
	public void updatePassword(@Param("index")int id,@Param("pages")String str);
}
